/**
 * 屏幕设备类型
 * @type {{WAITING_SCREEN: {value: string, desc: string}, TREATMENT_ROOM_SCREEN: {value: string, desc: string}, WINDOW_SCREEN: {value: string, desc: string}, SIGN_SCREEN: {value: string, desc: string}, NUMBER_SCREEN: {value: string, desc: string}, SELF_MACHINE: {value: string, desc: string}, INFORMATION_SCREEN: {value: string, desc: string}}}
 */
const BizTypeEnum  = {
  "1": {value: "WaitingScreen", desc: "候诊屏"},
  "2": {value: "WindowScreen", desc: "窗口屏"},
  "3": {value: "RoomScreen", desc: "诊室屏"},
  "4": {value: "InformationScreen", desc: "信息发布屏"},
  "5": {value: "MachineScreen", desc: "报到机"},
  "6": {value: "NumberMachineScreen", desc: "取号机"},
  "8": {value: "MachineScreen", desc: "银医自助一体机"},
}

let IframeBizTypeEnum = {
  "1": {value: "SIGN_MACHINE", desc: "报到机"},
  "2": {value: "NETWORK_LCD", desc: "网络液晶一体机"},
  "3": {value: "TREATMENT_ROOM_LCD", desc: "诊室液晶一体机"},
  "6": {value: "LED", desc: "LED显示屏"},
};
const EnumConstants = {
  /**
   * 候诊屏消息转换
   */
  NETWORK_LCD: {
    Qcss_Login_Msg: "doctorLogin",
    /**
     * 医生退出登录
     */
    Qcss_LoginOut_Msg: "doctorLogout",
    /**
     * 刷新消息
     * 带指令
     */
    Qcss_Refresh_Msg: "refreshMsg",
    /**
     * 暂停接诊
     */
    Qcss_Pause_Msg: "pauseDoctor",
    /**
     * 取消暂停接诊
     */
    Qcss_Cancel_Pause_Msg: "cancelPause",
    /**
     * 叫号上屏消息
     * 候诊屏/诊室屏
     */
    Qcss_Call_Up_Msg: "updateWaitScreenDoctors,openMsgWin",
    /**
     * 诊室屏下屏消息
     */
    Qcss_Waiting_Down_Msg: "updateWaitScreenDoctors",
    /**
     * 广播消息
     */
    Qcss_Broadcast_Msg: "Qcss_Broadcast_Msg",
    /**
     * 广播消息内容
     */
    QCSS_BROADCAST_MSG: "请{}到{}分诊台",
    /**
     * 获取呼叫配置\获取医生列表
     */
    Qcss_Refresh_Config_Msg: "Qcss_Refresh_Config_Msg",
  },
  /**
   * 诊室屏消息
   */
  TREATMENT_ROOM_LCD: {
    Qcss_Login_Msg: "doctorLogin",
    /**
     * 医生退出登录
     */
    Qcss_LoginOut_Msg: "doctorLogout",
    /**
     * 刷新消息
     * 带指令
     */
    Qcss_Refresh_Msg: "refreshMsg",
    /**
     * 暂停接诊
     */
    Qcss_Pause_Msg: "pauseDoctor",
    /**
     * 取消暂停接诊
     */
    Qcss_Cancel_Pause_Msg: "cancelPause",
    /**
     * 叫号上屏消息
     * 候诊屏/诊室屏
     */
    Qcss_Call_Up_Msg: "updateDoctorPatients,openMsgWin",
    /**
     * 诊室屏下屏消息
     */
    Qcss_Waiting_Down_Msg: "updateDoctorPatients",
    /**
     * 广播消息
     */
    Qcss_Broadcast_Msg: "Qcss_Broadcast_Msg",
    /**
     * 广播消息内容
     */
    QCSS_BROADCAST_MSG: "请{}到{}分诊台",
    /**
     * 获取呼叫配置\获取医生列表
     */
    Qcss_Refresh_Config_Msg: "Qcss_Refresh_Config_Msg",
  },
  /**
   * 窗口消息
   */
  TREATMENT_WINDOW_LCD: {
    Qcss_Login_Msg: "doctorLogin",
    /**
     * 医生退出登录
     */
    Qcss_LoginOut_Msg: "doctorLogout",
    /**
     * 刷新消息
     * 带指令
     */
    Qcss_Refresh_Msg: "refreshMsg",
    /**
     * 暂停接诊
     */
    Qcss_Pause_Msg: "pauseDoctor",
    /**
     * 取消暂停接诊
     */
    Qcss_Cancel_Pause_Msg: "cancelPause",
    /**
     * 叫号上屏消息
     * 候诊屏/诊室屏
     */
    Qcss_Call_Up_Msg: "updateDoctorPatients,openMsgWin",
    /**
     * 诊室屏下屏消息
     */
    Qcss_Waiting_Down_Msg: "updateDoctorPatients",
    /**
     * 广播消息
     */
    Qcss_Broadcast_Msg: "Qcss_Broadcast_Msg",
    /**
     * 广播消息内容
     */
    QCSS_BROADCAST_MSG: "请{}到{}分诊台",
    /**
     * 获取呼叫配置\获取医生列表
     */
    Qcss_Refresh_Config_Msg: "Qcss_Refresh_Config_Msg",
  }
};

export {BizTypeEnum,EnumConstants,IframeBizTypeEnum}
